def fact(num):
    if (num==1 or num==0):
        return 1
    else:
        return fact(num-1)*num
def main():
    print(fact(3))
if __name__=="__main__":
    main()